<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\9\30 0030
 * Time: 9:58
 */

namespace app\Lib\InterfaceIn\Tag;


use app\Lib\InterfaceIn\Img\Img;
use app\Lib\InterfaceIn\User\UserHandle;

interface Tag
{
    public function __construct($tagId,$cache = true);

    /**
     * 获取tagId
     * @return int
     */
    public function getTagId();
    /**
     * 获取标签名称
     * @return string
     */
    public function getTagName();
    /**
     * 获取创建人类
     * @return UserHandle
     */
    public function getCreateUidClass();

    /**
     * 获取创建时间
     * @return string
     */
    public function getCreateTime();

    /**
     * 修改人类
     * @return UserHandle
     */
    public function getUpdateUidClass();

    /**
     * 获取修改时间
     * @return string
     */
    public function getUpdateTime();

    /**
     * 获取img图片类
     * @return Img
     */
    public function getImgClass();

    /**
     * 获取中文状态
     * @return string
     */
    public function getTagStatusStr();

}